package com.zx.article.article.model;

import java.math.BigDecimal;

import com.zx.article.init.PageModel;

public class ArticleModel extends PageModel {

	private Integer id;
	private String title;
	private String key;
	private Integer typeId;
	private String WritterAccount;
	private String fileName;
	private String url;
	private String message;
	private String time;

	private String author;
	private String type;
	private String result;

	private BigDecimal article;
	private BigDecimal check;
	private BigDecimal page;
	private BigDecimal wordNum;

	public ArticleModel() {
		super();
	}

	public ArticleModel(String title, String key, Integer typeId, String author) {
		super();
		this.title = title;
		this.key = key;
		this.typeId = typeId;
		this.author = author;
	}

	public ArticleModel(String title, String key, Integer typeId, String writterAccount, String fileName, String url,
			String message, String time) {
		super();
		this.title = title;
		this.key = key;
		this.typeId = typeId;
		WritterAccount = writterAccount;
		this.fileName = fileName;
		this.url = url;
		this.message = message;
		this.time = time;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public Integer getTypeId() {
		return typeId;
	}

	public void setTypeId(Integer typeId) {
		this.typeId = typeId;
	}

	public String getWritterAccount() {
		return WritterAccount;
	}

	public void setWritterAccount(String writterAccount) {
		WritterAccount = writterAccount;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}

	public BigDecimal getWordNum() {
		return wordNum;
	}

	public void setWordNum(BigDecimal wordNum) {
		this.wordNum = wordNum;
	}

	public BigDecimal getArticle() {
		return article;
	}

	public void setArticle(BigDecimal article) {
		this.article = article;
	}

	public BigDecimal getCheck() {
		return check;
	}

	public void setCheck(BigDecimal check) {
		this.check = check;
	}

	public BigDecimal getPage() {
		return page;
	}

	public void setPage(BigDecimal page) {
		this.page = page;
	}

	@Override
	public String toString() {
		return "ArticleModel [id=" + id + ", title=" + title + ", key=" + key + ", typeId=" + typeId
				+ ", WritterAccount=" + WritterAccount + ", fileName=" + fileName + ", url=" + url + ", message="
				+ message + ", time=" + time + ", author=" + author + ", type=" + type + "]";
	}

}
